<{php}>
$mod = $GLOBALS['xoopsModule'];
$dirname = (isset($mod) ? $mod->getVar('dirname') :'system');
$GLOBALS['xoopsTpl']->assign( 'xoops_cmod', $dirname );
$GLOBALS['xoopsTpl']->assign('XOOPS_URL_SSL',XOOPS_URL_SSL);
$GLOBALS['xoopsTpl']->assign('XOOPS_URL_NON_SSL',XOOPS_URL_NON_SSL);
$GLOBALS['xoopsTpl']->assign('PORT',PORT);
<{/php}>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<!--<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />-->
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<link rel='stylesheet' type='text/css' media='all' href="<{$xoops_url}>/modules/local_news/news.css" />

<!-- RMV: added module header -->
<{$xoops_module_header}>

<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>

<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.0.0/dojo/dojo.xd.js" djConfig="parseOnLoad: true"></script>

<style type="text/css">
        @import "<{$xoops_url}>/include/dojo/dijit/themes/tundra/tundra.css";
        @import "<{$xoops_url}>/include/dojo/dojo/resources/dojo.css";
</style>

<{if $xoops_cmod == "calendar"}>
    <script type="text/javascript">
           dojo.require("dojo.parser");
           dojo.require("dijit.layout.ContentPane");
           dojo.require("dijit.layout.TabContainer");
           dojo.require("dijit.layout.AccordionContainer");
           dojo.require("dijit.form.Button");

	        dojo.require("dijit.form.Form");
	        dojo.require("dijit.form.DateTextBox");
	        dojo.require("dijit.form.FilteringSelect");
	        dojo.require("dijit.form.Textarea");
	        dojo.require("dijit.form.TextBox");
	        dojo.require("dijit.form.ValidationTextBox");
	        dojo.require("dijit.TitlePane");
	        dojo.require("dijit.Dialog");
     </script>
</head>
<body class="tundra">
<{elseif $xoops_cmod == "local_news"}>
     <script type="text/javascript">
           dojo.require("dojo.parser");
     </script>
</head>
<body>


<{else}>
 </head>
 <body>
<{/if}>

<!-- BEGIN TOP BAR #####################################################################################################-->
  <table align="center" style="width:750px;" cellpadding="0" cellspacing="0">
    <tr>
      <td ><img src='<{$xoops_imageurl}>images/rotate/rotate.php' alt='KCAW Header Image'/></td>
	</tr>
<!-- NAVIGATION BAR-->
	 <tr>
      <td style="text-align:center; background-color:#FFFFFF; padding-top:8px; padding-bottom:8px;border-left:1px solid #000000; border-right:1px solid #000000;"><table style="padding:0; margin:0;" width="100%" cellpadding="0" cellspacing="0"><tr><td align="right"><img src="<{$xoops_imageurl}>images/menu_end_left.gif" style='border:0; padding:0;' /></td><td><{php}>include(XOOPS_ROOT_PATH."/modules/Top_Menu/top_nav_menu.php"); <{/php}></td><td align="left"><img src="<{$xoops_imageurl}>images/menu_end_right.gif" style='border:0; padding:0;' /></td></tr></table></td>
	</tr>
</table>




<!-- END TOP BAR #########################################################################################################-->


<!--BEGIN MAIN CONTENT TABLE ############################################################################################-->
  <table cellspacing="0" width="750" align="center" style="border-left: 1px solid #000000; border-right: 1px solid #000000; border-bottom:1px solid #000000;">
    <tr>
	<{if $xoops_cmod != "program_schedule" && count($xoops_lblocks) > 0}>
      <td id="leftcolumn" >
        <!-- Start left blocks loop -->
        <{foreach item=block from=$xoops_lblocks}>
          <{include file="KCAW2/theme_blockleft.html"}>
        <{/foreach}>
        <!-- End left blocks loop -->
      </td>
      <{/if}>


      <td id="centercolumn">
		<!-- Display center blocks if any -->
        <{if $xoops_showcblock == 1}>

        <table cellspacing="0">
          <tr>
            <td id="centerCcolumn" colspan="2">

            <!-- Start center-center blocks loop -->
            <{foreach item=block from=$xoops_ccblocks}>
              <{include file="KCAW2/theme_blockcenter_c.html"}>
            <{/foreach}>
            <!-- End center-center blocks loop -->

            </td>
          </tr>
          <tr>
            <td id="centerLcolumn">

            <!-- Start center-left blocks loop -->
              <{foreach item=block from=$xoops_clblocks}>
                <{include file="KCAW2/theme_blockcenter_l.html"}>
              <{/foreach}>
            <!-- End center-left blocks loop -->

            </td><td id="centerRcolumn">

            <!-- Start center-right blocks loop -->
              <{foreach item=block from=$xoops_crblocks}>
                <{include file="KCAW2/theme_blockcenter_r.html"}>
              <{/foreach}>
            <!-- End center-right blocks loop -->

            </td>
          </tr>
        </table>

        <{/if}>
        <!-- End display center blocks -->

        <div id="content">
          <{$xoops_contents}>
        </div>
      </td>

      <{if $xoops_showrblock == 1}>

      <td id="rightcolumn">

	 <{if $xoops_cmod != "pledge" && $xoops_cmod != "local_news"}>
	  <div style="margin-bottom:10px; background-color:#3D6236; text-align:center; width:100%; vertical-align: middle; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc;  border-right: 1px solid #333333; border-bottom: 1px solid #333333;">
	  <form style="margin-top: 0px; margin-bottom: 0px; padding-top:6px;padding-bottom:6px;" action="<{$xoops_url}>/search.php" method="post">
      <input type="text" name="query" size="7" />
      <input type="hidden" name="action" value="results" />
      <input name="submit" type="submit" value="Search" title="Search This Web Site"/>
      </form>
	  </div>
	  <{/if}>
        <!-- Start right blocks loop -->
        <{foreach item=block from=$xoops_rblocks}>
          <{include file="KCAW2/theme_blockright.html"}>
        <{/foreach}>
        <!-- End right blocks loop -->
      </td>

      <{/if}>

    </tr>
  </table>
<!--END MAIN CONTENT TABLE ############################################################################################-->

<table cellspacing="0" width="750" align="center" style="border-left: 0px solid #000000; border-right: 0px solid #000000;">
    <tr id="footerbar">
      <td><a href="<{$xoops_url}>">Home</a> | <a href="<{$xoops_url}>/modules/contact_form/">Contact Us</a> | <a href="<{$xoops_url}>/privacy.php">Privacy Policy</a> | <a href="<{$XOOPS_URL_SSL}>/user.php">Login</a></td>
    </tr>
  </table>
  <div align="center" style="font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#333333; padding-top:3px;">Copyright &copy; <{php}>echo date("Y");<{/php}>, KCAW &#8226; Web Site Design by David Pichard &#8226; <span style="font-size:10px; padding:0; margin:0;">Banner photo: by <a href="http://www.sheltercovepublishing.com" TARGET='_blank'>Mim McConnell</a>.</span></div>

<{if $PORT != 443}>
	<!-- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
	</script>
	<script type="text/javascript">
	_uacct = "UA-1040288-1";
	urchinTracker();
	</script>
	 -->
<{/if}>

</body>
</html>